package com.mybatis.demo.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author zp
 * @version 1.0
 * @description: 博客类
 * @date 2022/11/18 19:21
 */
@Data
public class Blog implements Serializable {

    private int id;

    private String title;

    private UserInfo author;

    private String body;

    private List<Comment> comments;

    Map<String, String> labels;
}
